package com.yyt.database_demo.dao;

import com.yyt.database_demo.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author yeyangtao
 * @date 2020/4/30 14:20
 */
@Mapper
@Repository
public interface UserDao {
    void batchUpdate(List<User> list);

    void batchCreate(List<User> list);

    void batchUpdate1(List<User> list);

    List<User> query();
}
